package com.kw.model.weixin.entry;

public class WeiXinBasePair implements Comparable<Object> {
	String name=null;
	String value=null;
	
	
	public WeiXinBasePair(String name,String value){
		this.name=name;
		this.value=value;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	public int compareTo(Object obj){
		WeiXinBasePair wxbp=(WeiXinBasePair)obj;
		return name.compareTo(wxbp.getName());		
	}
	
}
